package com.frontier.common.commonenum;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 响应枚举
 *
 * @author YLS-XuXu
 * @date 2022/3/2
 */
@Getter
@AllArgsConstructor
public enum ResponseEnum {

    /**
     * 响应成功
     */
    SUCCESS_RESPONSE("0", "RECEIVE SUCCESS"),
    /**
     * 系统异常
     */
    E1001("E1001", "系统异常"),

    /**
     * 请求参数异常
     */
    E2001("E2001", "请求参数异常");
    /**
     * 响应码
     */
    private final String responseCode;

    /**
     * 响应信息
     */
    private final String responseMessage;

}
